import { request, config } from 'utils'

const { api } = config
const { accoutSignAdd, accoutSignEdit, accoutSignSelf } = api

export async function signSelf (params) {
  return request({
    url: accoutSignSelf,
    method: 'put',
    data: params,
  })
}

export async function create (params) {
  return request({
    url: accoutSignAdd,
    method: 'post',
    data: params,
  })
}

export async function update (params) {
  return request({
    url: accoutSignEdit,
    method: 'put',
    data: params,
  })
}




